using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Lutos.EntityModel;
using Lutos.ORM;

namespace Lutos.Portal
{
    public class Portal : DomainObject
    {

    	public Portal(DataRow row): base(row)
        {
			this.row = (PortalModel.Lx_PortalRow)row;
        }

    	private PortalModel.Lx_PortalRow row;
    	public int ID
    	{
			get { return row.Portal_ID; }
    	}
    	public string Name
    	{
			get { return row.Portal_Name.Trim(); }
			set { row.Portal_Name = value; }
    	}

    	public string LogoUrl
    	{
			get { return row.Portal_Logo_Url.Trim(); }
			set { row.Portal_Logo_Url = value; }
    	}

		public string BannerUrl
		{
			get { return row.Portal_Banner_Url.Trim(); }
			set { row.Portal_Banner_Url = value; }
		}

    	public int LeftRegionID
    	{
			get { return row.Portal_LeftRegionID; }
			set { row.Portal_LeftRegionID = value; }
    	}

    	public int RightRegionID
    	{
			get { return row.Portal_RightRegionID; }
			set { row.Portal_RightRegionID = value; }
    	}

    	public int LeftCategoryID
    	{
			get { return row.Portal_LeftCategoryID; }
			set { row.Portal_LeftCategoryID = value; }
    	}

    	public int RightCategoryID
    	{
			get { return row.Portal_RightCategoryID; }
			set { row.Portal_RightCategoryID = value; }
    	}

    	public int InfoBoxRID
    	{
			get { return row.Portal_InfoBoxRID; }
			set { row.Portal_InfoBoxRID = value; }
    	}

    	public int InfoBoxCID
    	{
			get { return row.Portal_InfoBoxCID; }
			set { row.Portal_InfoBoxCID = value; }
    	}

    	public string BannerNevUrl
    	{
			get { return row.Portal_Banner_Click; }
			set { row.Portal_Banner_Click = value; }
    	}
    }
}   
